package com.wskh.edu.client;

import com.wskh.commonUtil.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;


/**
 * @author 王孙康宏
 */
@Component
@FeignClient("service-vod")
public interface VodClient {
    @PostMapping(value = "/eduVod/video/deleteVideoById/{id}")
    public R removeVideo(@PathVariable(name = "id") String id);

    @PostMapping(value = "/eduVod/video/vod/{id}")
    public R testVod(@PathVariable String id);

}
